package com.mk.web.aop.advice.schema;

import java.lang.reflect.Method;

import org.springframework.aop.MethodBeforeAdvice;

/**
 * 基于schema-based的aop实现
 * Created by WangChen on 2018/11/29 23:05.
 */
public class BeforeAdvice implements MethodBeforeAdvice {

    @Override
    public void before(Method method, Object[] objects, Object o) throws Throwable {
        System.out.println("method before advice running ...");
    }
}
